import request from "@/utils/request";

export function setting_info(params) {
  return request({
    url: "/setting/info",
    method: "get",
    params
  });
}

/* 短信余量 */
export function sms_info_stock(params) {
  return request({
    url: "/setting/sms",
    method: "get",
    params
  });
}

/* 系统还原 */
export function clear(params) {
  return request({
    url: "/clear",
    method: "get",
    params
  });
}

/* 药残检测 */
export function get_drug_info(params) {
  return request({
    url: "/drug_residue/info",
    method: "get",
    params
  });
}

export function set_drug_info(data) {
  return request({
    url: "/drug_residue/info",
    method: "post",
    data: data
  });
}
